package com.haohan.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.haohan.domain.ServerInfo;

import java.util.List;

/**
 * @author: jzhou
 * @date: 2024/12/20-14:29
 * @version: 1.0
 * @description: compass
 */
public interface ServerInfoService extends IService<ServerInfo> {

    boolean saveBatch(List<ServerInfo> serverInfoList);

    IPage<ServerInfo> getPage(int currentPage, int pageSize);

    IPage<ServerInfo> getPage(int currentPage, int pageSize, ServerInfo serverInfo);
}
